package com.googlecode.flealancemarket.metamodel.beans;

import com.googlecode.flealancemarket.metamodel.PrivateMessage;
import com.googlecode.flealancemarket.metamodel.User;
import com.googlecode.flealancemarket.core.beans.BaseBean;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

@Entity
@Inheritance(strategy=InheritanceType.JOINED)
public class UserBean extends BaseBean implements User {

    private String username;
    private String email;
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public UserBean() {
        super();
    }
/*
    public UserBean(String username, String password, String email) {
        this.username = username;
        this.email = email;
        this.password = password;
    }
*/
}